//
//  ConstantValues.m
//  LabanBrowser
//
//  Created by Xh2 on 3/28/13.
//  Copyright (c) 2013 VNG. All rights reserved.
//

#import "ConstantValues.h"

@implementation ConstantValues
@synthesize addressBarHeight;
@synthesize longPressMinimumDuration;
@synthesize mainMenuHeight;
@synthesize mainMenuWidth;
@synthesize toolBarHeight;
@synthesize vcFlipAnimationDuration;
@synthesize menuPageControlHeight;
@synthesize fromShrinkToFullDuration;
@synthesize downloadCellHeight;
@synthesize themeAlpha;
@synthesize goToFullScreenDuration;
@synthesize fullScreenControlPanelHeight;
@synthesize fullAnimationDuration;

-(id)init{
    self=[super init];
    if(self){
        
        mainMenuWidth=300;
        mainMenuHeight=160;
        
        longPressMinimumDuration=0.6f;
        
        addressBarHeight=40;
        toolBarHeight=40;
        
        vcFlipAnimationDuration=0.5f;
        menuPageControlHeight=24;
        
        fromShrinkToFullDuration=0.3f;
        fullAnimationDuration=0.7f;
        downloadCellHeight=65;
        
        themeAlpha=0.5f;
        goToFullScreenDuration=0.5f;
        
        fullScreenControlPanelHeight=40;
        
    }
    return self;
}

-(int)screenHeight{
    CGRect screenRect = [[UIScreen mainScreen] bounds];
    return screenRect.size.height;
}
-(int)screenWidth{
    CGRect screenRect = [[UIScreen mainScreen] bounds];
    return screenRect.size.width;
    
}

@end
